@echo off

SET TEMPLATEDIR=%UserProfile%\Documents\Visual Studio 2010\Templates\ProjectTemplates
ECHO Template Dir - %TEMPLATEDIR%

ECHO 
IF NOT EXIST "%TEMPLATEDIR%" GOTO notemp

SET FULLDIR="%TEMPLATEDIR%\Visual C#\XNA Game Studio 4.0\"
ECHO %FULLDIR%
IF NOT EXIST %FULLDIR% MKDIR %FULLDIR%

XCOPY /Y TinyWindowsGame.zip %FULLDIR%

GOTO end

:notemp
ECHO "Templates directory does not exist, Do you have visual studio 2010 installed?"

:end
PAUSE